Skip to content

Conversation

ggerganov
Copy link
Member

Fixes a crash when using tree-based speculative decoding with greedy sampling:

make -j llama-speculative && ./bin/llama-speculative -m ../models/qwen2.5-32b-coder-instruct/ggml-model-q4_0.gguf -md ../models/qwen2.5-0.5b-coder-instruct/ggml-model-q4_0.gguf --ctx-size 0 -ub 4096 -b 4096 -ngl 99 -ngld 99 -fa --draft-max 8 --draft-min 0 --draft-p-min 0.75 -c 4096 --color -p "Write a quicksort algorithm" -np 4 --top-k 1 -s 1

@ggerganov ggerganov merged commit c6af216 into master Mar 18, 2025
47 checks passed
@ggerganov ggerganov deleted the gg/speculative-fix branch March 18, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants